| PIZZA | Current compiler version: 0.39d |
| A substantial companion to Java | |
| Frequently Asked Questions (with Answers)
The Pizza language | |
|
Contents
Home Mirrors FAQ index |
| How
can I define a named first-class function? |
(String)->int len = fun (String s)->int {return s.length(); };Alternatively, you can also define a method and use the method's name without the (...) parentheses.
| Would it be possible to make the case-classes into fully functional inner classes, with different initializers and so forth? |
| "private protected" does not work. |